package cn.xiuxius.askbox.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class JwtProperties {
    @Value("${askbox.jwt.console.secret}")
    private String consoleSecret;
    @Value("${askbox.jwt.console.expire}")
    private Long consoleExpire;
    @Value("${askbox.jwt.console.token-name}")
    private String consoleTokenName;
    @Value("${askbox.jwt.user.secret}")
    private String userSecret;
    @Value("${askbox.jwt.user.expire}")
    private Long userExpire;
    @Value("${askbox.jwt.user.token-name}")
    private String userTokenName;
}
